USE [Yacht Rental]
GO

/****** Object:  Table [dbo].[DestinationAndBase]    Script Date: 10/14/2017 3:38:51 AM ******/
SET ANSI_NULLS ON
GO

SET QUOTED_IDENTIFIER ON
GO

CREATE TABLE [dbo].[DestinationAndBase](
	[DestinationAndBaseID] [int] IDENTITY(1,1) NOT NULL,
	[id_dest] [int] NULL,
	[id_country] [int] NULL,
	[id_base] [int] NULL,
	[id_marina] [int] NULL,
	[createdate] [datetime] NULL,
	[updatedate] [datetime] NULL,
	[rowstatus] [bit] NULL,
 CONSTRAINT [PK__DestinationAndBase__101320170651] PRIMARY KEY CLUSTERED 
(
	[DestinationAndBaseID] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]

GO

ALTER TABLE [dbo].[DestinationAndBase] ADD  CONSTRAINT [DF_DestinationAndBase_rowstatus]  DEFAULT ((1)) FOR [rowstatus]
GO


